home *** CD-ROM | disk | FTP | other *** search
/ C & C++ Multimedia Cyber Classroom / C and C++ Multimedia Cyber Classroom (Prentice Hall) (1998).iso / cpphtp2 / code.jar / code / ch11 / fig11_07.txt < prev    next >
Text File  |  1998-02-27  |  222b  |  11 lines

  1. 1   // Fig. 11.7: fig11_07.cpp
  2. 2   // Cascading the overloaded << operator.
  3. 3   #include <iostream.h>
  4. 4   
  5. 5   int main()
  6. 6   {
  7. 7      cout << "47 plus 53 is " << ( 47 + 53 ) << endl;
  8. 8   
  9. 9      return 0;
  10. 10  }
  11.